package edu.sctu.practice.class02.liuli.practice.reference;

/**
 * Created by Administrator on 2015/10/15.
 */
public class Point {
    int x, y;

    void setxy(int x1, int y1) {
        x = x1;
        y = y1;
    }

    void squarePoint(Point p) {
        p.x = p.x * p.x;
        p.y = p.y * p.y;
    }
}
